package com.knight.concurrent.chapter3;

/**
 * @author: knight
 * @Date: 2019-02-26 21:27
 */
public class CreateThread {

    public static void main(String[] args) {
        Thread thread = new Thread();

        Thread thread3 = new Thread("线程三");

        Thread thread4 = new Thread(() -> {
            System.out.println("---线程四---");
        }, "线程四");

    }
}
